package com.jianqiao.delivery.delivery.service;

import net.sourceforge.tess4j.TesseractException;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Map;

/**
 * @author: lsx
 * @create: 2024-11-25 14:39
 **/
public interface OcrService {
    String recognizeText(MultipartFile file) throws IOException, TesseractException;

    Map Address(String address);
}
